package com.jic.product.model.vo.request;

import com.jic.common.base.vo.AdminOperate;
import com.jic.product.entity.vo.request.base.BaseEntityRequest;
import com.jic.product.model.entity.MStoreVirtualRel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(description = " 虚拟仓库表实体类")
public class MStoreVirtualRequest extends BaseEntityRequest {
    private static final long serialVersionUID = 1L;

    private AdminOperate adminOperate;

    // @NotEmpty(message = "主键") 
    @ApiModelProperty(notes = "主键")

    private Long id;
    // @NotEmpty(message = "虚拟仓库编码") 
    @ApiModelProperty(notes = "虚拟仓库编码")

    private String code;
    // @NotEmpty(message = "") 
    @ApiModelProperty(notes = "")

    private String name;
    // @NotEmpty(message = "状态;0-启用;1-停用;") 
    @ApiModelProperty(notes = "状态;0-启用;1-停用;")

    private Integer status;
    // @NotEmpty(message = "关联的实体仓库Id") 
    @ApiModelProperty(notes = "关联的实体仓库Id")

    private Long storeId;
    // @NotEmpty(message = "商家Id") 
    @ApiModelProperty(notes = "商家Id")

    private Long productId;
    // @NotEmpty(message = "店铺Id(mem_store仓库表)") 
    @ApiModelProperty(notes = "店铺Id(mem_store仓库表)")

    private Integer shopId;
    // @NotEmpty(message = "最大容量") 
    @ApiModelProperty(notes = "最大容量")

    private Integer limits;
    // @NotEmpty(message = "覆盖范围Id") 
    @ApiModelProperty(notes = "覆盖范围Id")

    private Long coverId;

    private Long[] ids;
    //实体仓库关系映射
    @ApiModelProperty(notes = "仓库关系映射")
    private List<MStoreVirtualRel> warehouses;
    //店铺关系映射
    @ApiModelProperty(notes = "店铺关系映射")
    private List<MStoreVirtualRel> shops;
    //商家id

    @ApiModelProperty(notes = "实体仓id")
    private Long warehouseId;

    @ApiModelProperty(notes = "部门Id")
    private Long deptId;

    //id拼接的字符串
    private List<Long> vaIds;

}
